import request from '@/utils/request'

// 查询休假维护类型天数详情配置列表
export function listOaVacationTypeDetail(query) {
  return request({
    url: '/vacationTypeDetail/oaVacationTypeDetail/list',
    method: 'get',
    params: query
  })
}

// 查询休假维护类型天数详情配置详细
export function getOaVacationTypeDetail(id) {
  return request({
    url: '/vacationTypeDetail/oaVacationTypeDetail/' + id,
    method: 'get'
  })
}

// 保存休假维护类型天数详情配置
export function saveOaVacationTypeDetail(data) {
  return request({
    url: '/vacationTypeDetail/oaVacationTypeDetail/save',
    method: 'post',
    data: data
  })
}

// 删除休假维护类型天数详情配置
export function delOaVacationTypeDetail(id) {
  return request({
    url: '/vacationTypeDetail/oaVacationTypeDetail/' + id,
    method: 'delete'
  })
}

// 导出休假维护类型天数详情配置
export function exportOaVacationTypeDetail(query) {
  return request({
    url: '/vacationTypeDetail/oaVacationTypeDetail/export',
    method: 'get',
    params: query
  })
}
